# ----------------------------------------------------------------------------
# Makefile for building tapp
#
# Copyright 2010 FriendlyARM (http://www.arm9.net/)
#

ifndef DESTDIR
DESTDIR			   ?= /tmp/FriendlyARM/mini6410/rootfs
endif

CFLAGS				= -Wall -O2 -lpthread -I./
CC				= arm-linux-gcc
INSTALL				= install

TARGET				= copy


all: $(TARGET)

#arm_uart_test: play_uart.c aes_src.c 
#	$(CC) $(CFLAGS) $< -o $@

copy:copy.c
	gcc  -D_FILE_OFFSET_BITS=64 -D_LARGE_FILE copy.c -o $@



install: $(TARGET)
	$(INSTALL) $^ $(DESTDIR)/usr/bin

clean distclean:
	rm -rf *.o $(TARGET) *~


# ----------------------------------------------------------------------------

.PHONY: $(PHONY) install clean distclean

# End of file
# vim: syntax=make

